package com.bst.bsj.base.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/health")
public class HealthController extends JsonBaseController {

    @RequestMapping(value = "/check")
    public void check(HttpServletRequest req, HttpServletResponse resp) throws Exception {
        writeEntityToResponse(resp, "ok");
    }
}
